    body {
        max-width: 540px;
        min-width: 320px;
        margin: 0 auto;
        font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
        color: #000;
        background: #f2f2f2;
        /* 无法出现水平滚动条 */
        overflow-x: hidden;
        /* 点击后页面不会高亮 */
        -webkit-tap-highlight-color: transparent;
        height: 2000px;
    }
    
    a {
        text-decoration: none;
        color: #222;
    }
    /* 去掉小li的小点 */
    /* 去掉ul的margin和padding值 */
    
    ul {
        margin: 0;
        padding: 0;
    }
    
    ul li {
        list-style: none;
    }
    /* CSS3中的盒子模型，不需要加减边框和padding，自动计算 */
    
    div {
        box-sizing: border-box;
    }
    /* 设置搜索栏模块 */
    
    .search-index {
        /* 利用flex布局 */
        display: flex;
        /* 固定定位的盒子一定要设置宽度 */
        /* 固定定位和盒子与它的父级没关系，以品目为准 */
        position: fixed;
        /* 因为盒子已经定位，所以通过修改top,left来让它居中对齐 */
        top: 0px;
        left: 50%;
        /* 因为我不知道盒子的具体宽度是多少，所以你有多宽，我就走你的一半 */
        transform: translateX(-50%);
        /* 这是兼容性的写法，兼顾老版本的谷歌浏览器 */
        -webkit-transform: translateX(-50%);
        /* 不能无限制设置宽度 */
        width: 100%;
        /* 宽度最小不能低于320px,最大不能超过540px */
        min-width: 320px;
        max-width: 540px;
        height: 44px;
        /* background-color: pink; */
        background-color: #F6F6F6;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }
    
    .user {
        width: 51px;
        height: 44px;
        /* background-color: purple; */
        font-size: 12px;
        text-align: center;
        color: #2eaae0;
    }
    
    .user::before {
        /* 利用伪元素来进行 */
        /* 伪元素一定要有content */
        content: "";
        display: block;
        width: 23px;
        height: 23px;
        background: url(../images/sprite.png) no-repeat -59px -194px;
        /* 将精灵图进行缩放 */
        background-size: 104px auto;
        margin: 4px auto -2px;
    }
    
    .search {
        position: relative;
        /* 将剩余空间分成一份，自适应 */
        flex: 1;
        height: 26px;
        /* 因为是css3盒子模型，所以边框已经算进去了 */
        border: 1px solid #ccc;
        margin: 7px 10px;
        border-radius: 5px;
        font-size: 12px;
        color: #666;
        /* 因为采用的CSS3盒子模型，所以行高要减去上下两个边框的值。所以行高应该是24px */
        line-height: 24px;
        padding-left: 25px;
        /* 加个阴影，分别是水平，垂直，模糊，背景色：最后一个是透明度 */
        box-shadow: 0px 2px 4px rgba(0, 0, 0, .2);
    }
    
    .search::before {
        position: absolute;
        top: 5px;
        left: 5px;
        content: "";
        width: 15px;
        height: 15px;
        background: url(../images/sprite.png) no-repeat -59px -280px;
        background-size: 104px auto;
    }
    /* 设置焦点图模块 */
    /* 以为上面是固定定位，不占位置，所以地下盒子要往下走一走 */
    
    .focus {
        margin-top: 44px;
    }
    
    .focus img {
        width: 100%;
    }
    
    .local-nav {
        display: flex;
        justify-content: flex-start;
        height: 64px;
        background-color: #fff;
        border-radius: 8px;
        margin: 3px 4px;
    }
    
    .local-nav li {
        flex: 1;
    }
    /* 先给父盒子设置flex式布局 */
    
    .local-nav li a {
        display: flex;
        /* 修改主轴为y轴  */
        flex-direction: column;
        /* 让副轴居中显示 */
        align-items: center;
        font-size: 12px;
    }
    
    .local-nav-icon1,
    .local-nav-icon2,
    .local-nav-icon3,
    .local-nav-icon4,
    .local-nav-icon5 {
        width: 32px;
        height: 32px;
        background: url(../images/localnav_bg.png) no-repeat 0 0;
        background-size: 32px auto;
        margin-top: 8px;
    }
    
    .local-nav-icon2 {
        background-position: 0 -32px;
    }
    
    .local-nav-icon3 {
        background-position: 0 -64px;
    }
    
    .local-nav-icon4 {
        background-position: 0 -96px;
    }
    
    .local-nav-icon5 {
        background-position: 0 -128px;
    }
    /* 主导航栏制作 */
    
    nav {
        overflow: hidden;
        border-radius: 8px;
        margin: 0px 4px 3px;
    }
    
    .nav-common {
        display: flex;
        height: 88px;
        background-color: pink;
    }
    /* 选择第二个nav-common */
    
    .nav-common:nth-child(2) {
        margin: 3px 0px;
    }
    
    .nav-items {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    /* 选择前两个元素 */
    
    .nav-items:nth-child(-n+2) {
        border-right: 1px solid #fff;
    }
    
    .nav-items a {
        flex: 1;
        color: #fff;
        font-size: 14px;
        text-align: center;
        line-height: 44px;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
    }
    
    .nav-items a:nth-child(1) {
        border-bottom: 1px solid #fff;
    }
    
    .nav-common:nth-child(1) .nav-items:nth-child(1) a {
        border: 0;
        background: url(../images/hotel.png) no-repeat bottom center;
        background-size: 121px auto;
    }
    
    .nav-common:nth-child(2) .nav-items:nth-child(1) a {
        border: 0;
        background: url(../images/hotel.png) no-repeat bottom center;
        background-size: 121px auto;
    }
    
    .nav-common:nth-child(3) .nav-items:nth-child(1) a {
        border: 0;
        background: url(../images/hotel.png) no-repeat bottom center;
        background-size: 121px auto;
    }
    
    .nav-common:nth-child(1) {
        /* 线性渐变一定要注意兼容性 */
        /* 从左到右开始，颜色从#FA5A55到#FA994D变化 */
        background: -webkit-linear-gradient(left, #FA5A55, #FA994D);
    }
    
    .nav-common:nth-child(2) {
        /* 线性渐变一定要注意兼容性 */
        /* 从左到右开始，颜色从#FA5A55到#FA994D变化 */
        background: -webkit-linear-gradient(left, #4B90ED, #53BCED);
    }
    
    .nav-common:nth-child(3) {
        /* 线性渐变一定要注意兼容性 */
        /* 从左到右开始，颜色从#FA5A55到#FA994D变化 */
        background: -webkit-linear-gradient(left, #34C2A9, #6CD559);
    }
    /* 侧导航栏制作 */
    
    .subnav-entry {
        padding: 5px 0px;
        display: flex;
        /* 切换自动换行 */
        flex-wrap: wrap;
        border-radius: 8px;
        background-color: #fff;
        margin: 0 4px;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
    }
    
    .subnav-entry li {
        /* 每个盒子占父亲的百分之20宽度 */
        flex: 20%;
    }
    
    .subnav-entry a {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .subnav-entry-icon1,
    .subnav-entry-icon2,
    .subnav-entry-icon3,
    .subnav-entry-icon4,
    .subnav-entry-icon5,
    .subnav-entry-icon6,
    .subnav-entry-icon7,
    .subnav-entry-icon8,
    .subnav-entry-icon9,
    .subnav-entry-icon10 {
        width: 28px;
        height: 28px;
        background-color: pink;
        margin-top: 4px;
        background: url(../images/subnav-bg.png) no-repeat;
        background-size: 28px auto;
    }
    
    .subnav-entry-icon2 {
        background: url(../images/subnav-bg.png) no-repeat 0px -29px;
        background-size: 28px auto;
    }
    
    .subnav-entry-icon3 {
        background: url(../images/subnav-bg.png) no-repeat 0px -63px;
        background-size: 28px auto;
    }
    
    .subnav-entry-icon4 {
        background: url(../images/subnav-bg.png) no-repeat 0px -98px;
        background-size: 28px auto;
    }
    
    .subnav-entry-icon5 {
        background: url(../images/subnav-bg.png) no-repeat 0px -133px;
        background-size: 28px auto;
    }
    
    .subnav-entry-icon6 {
        background: url(../images/subnav-bg.png) no-repeat 0px -163px;
        background-size: 28px auto;
    }
    
    .subnav-entry-icon7 {
        background: url(../images/subnav-bg.png) no-repeat 0px -197px;
        background-size: 28px auto;
    }
    
    .subnav-entry-icon8 {
        background: url(../images/subnav-bg.png) no-repeat 0px -232px;
        background-size: 28px auto;
    }
    
    .subnav-entry-icon9 {
        background: url(../images/subnav-bg.png) no-repeat 0px -261px;
        background-size: 28px auto;
    }
    
    .subnav-entry-icon10 {
        background: url(../images/subnav-bg.png) no-repeat 0px -289px;
        background-size: 28px auto;
    }
    
    .sales-box {
        margin: 2px;
        /* border: 1px solid #ccc; */
        background-color: #fff;
    }
    
    .sales-hd {
        position: relative;
        height: 44px;
        border-bottom: 1px solid #ccc;
        border-top: 1px solid #ccc;
        /* background-color: pink; */
    }
    
    .sales-hd h2 {
        position: relative;
        /* 将段落第一行向左边缩进999px */
        /* text-indent: -999px;
        overflow: hidden; */
    }
    /* 注意伪元素的父亲是上一级 */
    
    .sales-hd h2::after {
        position: absolute;
        top: -4px;
        left: 10px;
        content: "";
        width: 79px;
        height: 15px;
        background: url(../images/hot.png) no-repeat 0px -20px;
        background-size: 79px auto;
    }
    
    .sales-hd a {
        position: absolute;
        right: 5px;
        top: 7px;
        background: -webkit-linear-gradient(left, #FF506C, #ff6bc6);
        border-radius: 8px;
        padding: 3px 20px 3px 10px;
        color: #fff;
    }
    
    .sales-hd a::after {
        content: "";
        position: absolute;
        top: 8px;
        right: 9px;
        width: 7px;
        height: 7px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        /* 旋转一下 */
        /* 顺时针旋转45度 */
        transform: rotate(45deg);
    }
    
    .row {
        display: flex;
    }
    
    .row a {
        flex: 1;
        border-bottom: 1px solid #ccc;
    }
    
    .row a img {
        width: 100%;
    }
    
    .row a:nth-child(1) {
        border-right: 1px solid #eee;
    }